import {defineStore} from "pinia";
import {ref} from "vue";

export const userStore = defineStore('user', () => {
    const userInfo = ref({
        name: 'Tom',
        age: 20
    })
    const isLogin = ref(false)

    return {userInfo, isLogin}

});